
<h1 class="title">Gestion des QCM </h1>

<div>
    <h2>Liste des QCM</h2>
    
</div>

<!--<a href="qcm/add"> Ajouter un QCM</a>-->
<a href="index.php?rub=qcm-add"> Ajouter un QCM</a>
<table>
    <tr>
        <th>QCM</th>
        <th>Nombre de question</th>
        <th>Modification</th>       
        <th>Consultation</th>
        <th>JSON</th>
    </tr>
 {foreach from=$qcmArray item=qcm}
    <tr>
        <td>{$qcm.libelle}</td>
        <td>{$qcm.nbQuestion}</td>
        <td><a href="index.php?rub=qcm&modif={$qcm.id}">Modifier</a></td>        
        <td><a href="index.php?rub=qcm&consulte={$qcm.id}">Consulter</a></td>
        <td><a href="qcm/{$qcm.id}">G&eacute;nere</a></td>
    </tr>
{/foreach}
</table>


